//
//  WBDiscoverTableViewController.swift
//  weibo
//
//  Created by  郭航 on 16/6/23.
//  Copyright © 2016年 郭航. All rights reserved.
//

import UIKit

class WBDiscoverTableViewController: WBBasicTableViewController {
    
    override func loadView() {
        if !(WBUserInfor.shareWBUserInfor.isLogin) {
            super.loadView()
        } else {
            view = WBDataLoadView()
        }
    }

    override func viewDidLoad() {
        super.viewDidLoad()
        
        if !(WBUserInfor.shareWBUserInfor.isLogin) {
            let basicView = view as! WBBasicView
            basicView.setIconImageAddMessage("visitordiscover_image_message", message: "登录后，最新、最热微博尽在掌握，不再会与实事潮流擦肩而过")
            return
        }
        
    }
    
}
